package com.newcoin.xgb.service;

import com.newcoin.xgb.dto.CancelOrSubmitDto;
import com.newcoin.xgb.dto.GrabAnOrderDto;
import com.newcoin.xgb.dto.QueryParameterDto;
import com.newcoin.xgb.entity.Result;
import com.newcoin.xgb.entity.XgbGrabOrdersRecord;
import com.newcoin.xgb.po.GrabPageInfoPo;

public interface GrabOrderService {

    Result<XgbGrabOrdersRecord> autoOrder(GrabAnOrderDto grabAnOrderDto) throws Exception;

    Result cancelOrSubmit(CancelOrSubmitDto cancelOrSubmitDto) throws Exception;

    Result<GrabPageInfoPo> getTodayVictory(QueryParameterDto queryParameterDto) throws Exception;
}